﻿using SqlSugar;

namespace IMES.Entity
{
    [SugarTable("sys_report_cond")]
    public class ReportCondition : BaseEntity
    {
        /// <summary>
        /// 报表ID
        /// </summary>
        public long ReportId { get; set; }
        /// <summary>
        /// 条件参数名称
        /// </summary>
        public string ConName { get; set; }
        /// <summary>
        /// 条件参数显示名称
        /// </summary>
        public string ConTitle { get; set; }
        /// <summary>
        /// 条件参数使用控件
        /// </summary>
        public string EditControl { get; set; }
        /// <summary>
        /// 显示序号
        /// </summary>
        public int OrderNo {  get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>
        public bool IsReq { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string? DefaultValue { get; set; }
    }
}
